package com.ricky.onlineShop.shop.trading.repository;

import com.ricky.base.repository.BaseRepository;
import com.ricky.onlineShop.shop.trading.pojo.TradingPerformance;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author staticlan
 * @Date 2024/7/17 16:58
 * @Description:
 */
@Repository
public interface TradingPerformanceRepository extends BaseRepository<TradingPerformance, String> {
    List<TradingPerformance> findByEmployeeId(String employeeId);

    List<TradingPerformance> findByTradingId(String tradingId);
}
